package com.zhengx.fragmentutildemo.pager;

import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.zhengx.fragmentutil.BaseQuickFragment;
import com.zhengx.fragmentutildemo.R;

/**
 * name：com.zhengx.fragmentutildemo
 * class: describe
 * author: zhengx
 * create_time: 2019/5/7
 */
public class FragmentPagerOne extends BaseQuickFragment {

    @Override
    public void onResume() {
        super.onResume();
        Log.e(FragmentPagerOne.class.getSimpleName(), " frag 可见");
    }

    @Override
    public void onPause() {
        super.onPause();
        Log.e(FragmentPagerOne.class.getSimpleName(), " frag 不可见");
    }

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.layout_fragment_pager_one, container, false);
        return view;
    }
}
